package com.gisocn.onemap.interfaces;

import android.view.View;
import com.chad.library.adapter.base.BaseQuickAdapter;
import com.gisocn.onemap.base.Constant;
import com.gisocn.onemap.utils.ToastUtil;

/* loaded from: classes.dex */
public abstract class OnSingleItemClickListener implements com.chad.library.adapter.base.listener.OnItemClickListener {
    private long PRIDO_TIME = 1000;

    protected abstract void onSingleItemClick(BaseQuickAdapter<?, ?> baseQuickAdapter, View view, int i);

    @Override // com.chad.library.adapter.base.listener.OnItemClickListener
    public void onItemClick(BaseQuickAdapter<?, ?> baseQuickAdapter, View view, int i) {
        long currentTimeMillis = System.currentTimeMillis();
        if (currentTimeMillis - Constant.lastClickTIme >= this.PRIDO_TIME) {
            Constant.lastClickTIme = currentTimeMillis;
            onSingleItemClick(baseQuickAdapter, view, i);
            return;
        }
        ToastUtil.show("数据加载中，请稍后");
    }
}
